<?php
/**
 * @name commentopen.php
 * @msg  评论第三方推送临时表
 * @date 2015-07-29
 * @author:yuebin
 */
namespace haibao\comment\model\data;

class CommentOpen extends \haibao\comment\model\data\Base {
    
   
	const OPENTYPE_TENCENT_WEIBO = 1;
	const OPENTYPE_SINA_WEIBO = 2;
	
	const OPEN_STATUS_ZERO = 0;
	const OPEN_STATUS_ONE = 1;
   /**
    * 评论内容
    */
   public $Content;
   /**
    * 用户ID
    */
   public $UserId;
   /**
    *开放类型 1腾讯微博 2新浪微博 
    */
   public $OpenType =0;
   /**
    *是否同步
    */
   public $OpenStatus =0; 
   /**
    *创建时间
    */
   public $CreateTime;
   
 

	public function __construct() {
		parent::__construct ();
		
		$this->stringField('Content', 'Content',true);
		$this->intField('UserId', 'UserId',true);
		$this->intField('OpenType', 'OpenType');
		$this->intField('OpenStatus', 'OpenStatus');
		$this->dateField ( 'CreateTime', 'CreateTime', true );
		$this->setTableName ( 'CommentOpen' );
	}
}